package com.tbryant.test.redis;

/**
 * @author TBryant
 * @date 2021/8/27 14:37
 */
public class RedisConstant {
    public static final int REDIS_PORT = 6379;
    public static final long DISTRIBUTED_LOCK_EX_TIME = 5L;
    public static final String REDIS_IP = "10.8.1.13";
//    public static final String REDIS_IP = "localhost";// 需要自行修改
    public static final String REDIS_LOCK = "lock";
    public static final String REDIS_NX = "nx";
    public static final String REDIS_EX = "ex";
    public static final String REDIS_TEST_STRING_KEY = "testStringKey";
    public static final String REDIS_TEST_LIST_KEY = "testListKey";
    public static final String REDIS_TEST_HASH_KEY = "testHashKey";
    public static final String REDIS_TEST_SET_KEY = "testSetKey";
    public static final String REDIS_TEST_ZSET_KEY = "testZsetKey";
    public static final String REDIS_TEST_PUBSUB_CHANNEL = "testPubSubChannel";
}
